
package com.agu.entity.address;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

    /**
    * @公司:
    * @功能:通讯录 Entity
    * @作者:
    * @日期:2019-01-28 13:37:37
    * @版本:1.0
    * @修改:
    */ 

public class EntAddressEntity implements Serializable {

	private static final long serialVersionUID = 1L;
	
        /*
        * 通讯录ID|nolist noinput
        */
	    private Long addressId;
        /*
        * 通讯录名称
        */
	    private String addressName;
        /*
        * spID
        */
	    private Long spId;
        /*
        * 手机号码数|noinput
        */
	    private Integer mobilesNum;
        /*
        * 手机号码
        */
	    private String mobiles;
	    
	    private String mobilesTxt;
        /*
        * 创建人|nolist noinput
        */
	    private Long createUserId;
        /*
        * 创建时间|nolist noinput
        */
	    private Date createTime;

        public EntAddressEntity (){

        }
        
		/**
		 * 设置：通讯录ID|nolist noinput
		 */
		public void setAddressId(Long addressId) {
			this.addressId = addressId;
		}
		/**
		 * 获取：通讯录ID|nolist noinput
		 */
		public Long getAddressId() {
			return addressId;
		}
		
		public Long getId() {
			return addressId;
		}
		
		public Long getParentId() {
			return 0l;
		}
		
		public List getChildren() {
			return  new ArrayList();
		}
		
		public String getText() {
			return addressName +" ["+mobilesNum+"]";
		}
		
		/**
		 * 设置：通讯录名称
		 */
		public void setAddressName(String addressName) {
			this.addressName = addressName;
		}
		/**
		 * 获取：通讯录名称
		 */
		public String getAddressName() {
			return addressName;
		}
		/**
		 * 设置：spID
		 */
		public void setSpId(Long spId) {
			this.spId = spId;
		}
		/**
		 * 获取：spID
		 */
		public Long getSpId() {
			return spId;
		}
		/**
		 * 设置：手机号码数|noinput
		 */
		public void setMobilesNum(Integer mobilesNum) {
			this.mobilesNum = mobilesNum;
		}
		/**
		 * 获取：手机号码数|noinput
		 */
		public Integer getMobilesNum() {
			return mobilesNum;
		}
		/**
		 * 设置：手机号码
		 */
		public void setMobiles(String mobiles) {
			this.mobiles = mobiles;
		}
		/**
		 * 获取：手机号码
		 */
		public String getMobiles() {
			return mobiles;
		}
		
		
		public void setMobilesTxt(String mobilesTxt) {
			this.mobilesTxt = mobilesTxt;
		}

		public String getMobilesTxt() {
			return mobilesTxt;
		}
		
		/**
		 * 设置：创建人|nolist noinput
		 */
		public void setCreateUserId(Long createUserId) {
			this.createUserId = createUserId;
		}
		/**
		 * 获取：创建人|nolist noinput
		 */
		public Long getCreateUserId() {
			return createUserId;
		}
		/**
		 * 设置：创建时间|nolist noinput
		 */
		public void setCreateTime(Date createTime) {
			this.createTime = createTime;
		}
		/**
		 * 获取：创建时间|nolist noinput
		 */
		public Date getCreateTime() {
			return createTime;
		}
}
